home *** CD-ROM | disk | FTP | other *** search
- /* test.c
- This is to test the decoding capabilities of the FLI/FLC reader */
-
- #include <stdlib.h>
- #include <stdio.h>
-
- #include "xflick.h"
-
- verbose = 1;
-
- int main(int argc, char *argv[])
- {
- struct fli_header crap;
- int fd;
-
- if (argc > 1) {
- fd = open(argv[1], 0);
- if (fd < 0) {
- fprintf(stderr, "Can't open the file %s!\n", argv[1]);
- exit(-1);
- }
- read_flihead(fd, &crap);
- close(fd);
- }
- }
-